package com.isljj.web_chat2.mapper;

import com.isljj.web_chat2.model.Friend;
import com.isljj.web_chat2.model.FriendApply;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FriendMapper {
    List<Friend> getFriendListByUserId(int userId);

    void delete(Integer toUserId, int userId);


    List<FriendApply> getFriendApplyList(int userId);

    int add(int userId, Integer senderId);
}
